wayland: Use fractional scaling with the Cairo renderer
authorBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 15:25:33 +0000 (17:25 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 18:05:06 +0000 (20:05 +0200)
commit6d4d9af14e729682cef1506fd785de08a23dfa19
treeb8d7a2cc1c0d5f37fdf3d2e9418dce5e92e8edb9
parent84b235aac1f460721ca79efdebcf1894a21b0942
wayland: Use fractional scaling with the Cairo renderer

Cairo can do that, so just enable it:

 * Create surfaces with the correct fractionally scaled size.
 * Set the Cairo surface's device scale to that number.
gdk/wayland/gdkcairocontext-wayland.c